#ifndef __WX_DAEMON__H__
#define __WX_DAEMON__H__


#define MAXLISTENERS	10

extern volatile int stop;
extern int background;

extern const char progname[];
extern const char version[];
extern const char usage_argv[];
extern char confFile[256];
extern char dirtyFile[256];
extern void ShowVersion(void);
extern void ShowUsage(void);
extern int DaemonInit(int argc, char **argv);
extern int DaemonStart(void);
extern void DaemonWait(void);
extern void DaemonCleanup(void);
extern int DaemonSetFdLimit(int maxfd);
extern int DaemonEnableCoreDump(void);

#endif
